<template>
  <div>
    <div class="desc">
      <label>移交单位：</label>
      <span>
        {{ detail.warningTransferDetail.dept_name }}
      </span>
    </div>
    <div class="desc">
      <label>移交时间：</label>
      <span>
        {{ detail.warningTransferDetail.transfer_time }}
      </span>
    </div>
    <div class="desc">
      <label>问题描述：</label>
      <span>
        {{ detail.warningTransferDetail.problem }}
      </span>
    </div>
    <div class="desc">
      <label>附件：</label>
      <CommonUpload
        tableName="question-transfer"
        useType="transfer"
        :pid="detail.warningTransferDetail.id"
        :showUploadBtn="false"
        :disabled="true"
      ></CommonUpload>
    </div>
    <div class="desc">
      <label>状态：</label>
      <span>
        {{ detail.warningTransferDetail.status_text }}
      </span>
    </div>
  </div>
</template>

<script>
import CommonUpload from "@/components/Common/CommonUpload.vue";
export default {
  components: { CommonUpload },
  props: {
    detail: {
      type: Object,
      default: null,
    },
  },
};
</script>

<style lang="scss" scoped>
</style>